<?php
	require_once './source/class/core.class.php';
	$core = &l3z_core::instance();
	$core->init();

	$_GET['rela_id'] = intval($_GET['rela_id']);
	DB::delete('relations', array('rela_id' => $_GET['rela_id']));
	header('Location:index.php');
?>